import {
    StyleSheet,
    Dimensions,
} from 'react-native';

const {width,height} =Dimensions.get('window');

const imageWidth=width;
const imageHeight =imageWidth/4*3;

export const styles = StyleSheet.create({
    container: {
        flex: 1,
        justifyContent: 'center',
        backgroundColor:'#fff',
    },
    item: {
        flexDirection: 'row',
        alignItems: 'center',
        margin: 10,
        paddingTop: 30,
        paddingLeft: 30,
        paddingRight: 30,
        // borderWidth:1,
        borderRadius:2,
    },
    login: {
        height: 40,
        backgroundColor: '#fe4080',
        margin: 20,
        justifyContent: 'center',
        borderRadius:5
    },
    getCode:{
        borderRadius:5,
        backgroundColor:'#fe4080',
        color:'#fff',
        paddingLeft:20,
        height:35,
        lineHeight:25,
        alignSelf: 'center',
        paddingRight:20,
        alignItems:'center',
        justifyContent:'center'

    },
    //分割线
    dividingLine: {
        backgroundColor: '#d5d5d5',
        height: 1,
        width: width * 0.9,
        marginLeft:20,
    },
    getCode:{
        borderRadius:5,
        backgroundColor:'#FF6138',
        color:'#fff',
        paddingLeft:20,
        height:30,
        lineHeight:22,
        alignSelf: 'center',
        paddingRight:20,
        alignItems:'center',
        justifyContent:'center'

    },
    //分割线
    dividingLine: {
        backgroundColor: '#d5d5d5',
        height: 1,
        width: width * 0.9,
        marginLeft:20,
    },
    loginText: {
        fontSize: 20,
        alignSelf: 'center',
        color: '#FFF',
        borderRadius:10
    },
    logo:{
        // flex:1,
        alignItems:'center',
        justifyContent:'center',

    },
    enjoy_info:{
        flex:1,
        justifyContent:'flex-end',
        alignItems:'flex-start'
    },
    enjoy:{
        // flex:1,
        // backgroundColor:'#ff9',
        color:'#fff',
        fontSize:40,
        marginLeft:50,
       marginBottom:40,
        fontStyle: 'italic',


    },
    logoimg:{
        // width:198,
        // height:42,
        // marginTop:-100
        width:imageWidth,
        height:imageHeight,
    },
    ionicimg:{
        width:18,
        height:22,
    },


    warn_info:{
        flex:1,
        alignItems:'center',
        // justifyContent:'center',
    },

    //列表页
    list_main:{
        backgroundColor:'#fff',
    },
    main:{
        flexDirection:'row',
        height:45,
        marginTop:25
    },
    flex:{
        flex:1
    },
    input:{
        height:45,
        borderWidth:1,
        marginLeft:50,
        paddingLeft:15,
        borderColor:'#ccc',
        borderRadius:4
    },
    btn:{
        width:55,
        marginLeft:5,
        marginRight:5,
        backgroundColor:'#ff80ab',
        height:45,
        justifyContent:'center',
        alignItems:'center',
        borderRadius:4,
        marginRight:50,
    },
    search:{
        color:'#fff',
        fontSize:15,
        fontWeight:'bold'

    },
    nowLocation:{
        backgroundColor:'#f6f6f6',
        height:60,
        alignItems:'center',
        justifyContent:'center',
    },
    now:{
        fontSize:20,
        color:'#333',
    },

    searchImg:{
        width:32,
        height:32
    },
    checkedHouse:{
        color:'#ff80ab',
        fontSize:18,
        fontWeight:'bold',
        alignItems:'center',
        justifyContent:'center',
        marginRight:30,
       paddingTop:10,
        paddingRight:10,
        paddingLeft:10,
        borderRadius:4,
        height:45,
        borderWidth:1,
        borderColor:'#d5d5d5',
    },
    selectContainer:{
        marginTop:10,
        // marginLeft:10,
        height:30
    },
    list:{
        justifyContent:'center',
        // flex:1,

    },
    loading: {
        marginTop: 100
    },




});
